<?php
/**
 * SMARTY plugin for LiWeb CMS used for easy displaying image thumbnails.
 *
 * @author Martin "DevelX" Jurča
 * @version 2010-05-18
 */
function smarty_function_simage($params, &$smarty) {
    if (!isset($params['src'])) {
        return '';
    }
    return Kernel::getSimpleImageLink($params['src'], $params['width'],
            $params['height'], $params['border']);
}
?>
